<%--

  Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the latest version of the GNU Lesser General
  Public License as published by the Free Software Foundation;

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this program (LICENSE.txt); if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

--%>
<%@ page errorPage="/WEB-INF/jsp/error.jsp"
    contentType="text/html; charset=utf-8"
%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String imagePath = basePath+"wiki/";
String stylePath = basePath+"wiki/css/";
%>
<%@ include file="page-init.jsp" %>
<link rel="stylesheet" type="text/css" href="<%=stylePath%>css.css" />
<form method="post" action="<c:url value="/${virtualWiki}/j_acegi_security_check" />">
<input type="hidden" name="target" value="<c:out value="${target}"/>" />
<div class="formentry" style="display:none">
	<span class="formcaption-small">&#160;</span>
	<span class="formelement"><input type="checkbox"  value="true" name="_acegi_security_remember_me" id="loginRemember" />&#160;<label for="loginRemember"><f:message key="login.rememberme" /></label></span>
</div>
<div align="center">

<table width="100%" border="0" height="638" cellpadding="0" cellspacing="0"  >
          <tr>
            <td height="200" align="center" valign="middle"><table width="460" height="192" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="left" background="<%=imagePath %>images/login-bg.jpg"><table width="415" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="26"><jamwiki:authmsg css="message red" /></td>
                    <td align="center" class="underlin-heavygray"><strong>用户登录</strong></td>
                  </tr>
                  <tr>
                    <td height="36">&nbsp;</td>
                    <td>用户名：
                      <label>
                      <input type="text" name="j_username" value="<c:out value="${param.username}" />" id="loginUsername" />
                      </label></td>
                  </tr>
                  <tr>
                    <td height="28">&nbsp;</td>
                    <td>密&nbsp;&nbsp;&nbsp;&nbsp;码：
                      <input type="password" name="j_password" id="loginPassword" /></td>
                  </tr>
                  <tr>
                    <td width="195" height="46">&nbsp;</td>
                    <td width="220"><input type="image" name="function" src="<%=imagePath %>images/b-login.gif" width="95" height="29"  />&nbsp;&nbsp;<input type="image" onclick="return false;" name="function" src="<%=imagePath %>images/b-cancel.gif" width="95" height="29" /></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table>
  </div>
</form>

